<view class='sendSheBei'>
  <view class='danger'>
  	注意:禁止发布偏激、粗口、涉黄、涉及敏感政治内容,一旦核实,塔塔会永久拉黑账户并且追究法律责任。
  </view>	
  <!-- 热门话题 -->
    <view class='title '>
      <view class='info'><span>*</span>标题:<input class="input1" maxlength="20" type="" name="" value="{{obj.title}}" placeholder="2016年三一重工6012塔吊"  bindinput='textTitle'/></view>
    </view> 
    <view class='title '>
      <view class='info'>设备类型:
         <view class='chooseInfo3' >
          <view bindtap='chooseType' data-code='10'>
            <image wx:if="{{obj.type==10}}" catchtap='chooseType' data-code='10' class="image" src="../../image/send/selection_icon.png" />
            <image  wx:else catchtap='chooseType'  data-code='10' class="image" src="../../image/send/noselect_icon.png" />

          塔吊</view>
          <view bindtap='chooseType' data-code='20'>
            <image catchtap='chooseType' wx:if="{{obj.type==20}}" data-code='20' class="image" src="../../image/send/selection_icon.png" />
            <image catchtap='chooseType' wx:else data-code='20' class="image" src="../../image/send/noselect_icon.png" />

            <label></label>电梯</view>
        </view>
 
      </view>
    </view> 
    <view class='title '>
      <view class='info'><span>*</span>型号:<input class="input1" maxlength="20" type="" name="" value="{{obj.model}}" placeholder="请输入型号"  bindinput='textModel'/> </view>
    </view> 
    <view class='title '>
      <view class='info'><span>*</span>数量:
      <view class='subAddView'>
         <label bindtap='subButton'>-</label>
         <span>{{obj.num}}</span>
         <label bindtap='addButton'>+</label>
      </view>
      </view>
    </view> 
    <view class='title '>
      <view class='info'>价格:<input class="input2" maxlength="20" type="number" name="" placeholder="请输入价格" value="{{obj.price}}" bindinput='textPrice'/>
       <view class='chooseInfo2'>
          <label>万元</label>
          <view><image class="image" src="../../image/send/selection_icon.png" />面议</view>
        </view>
      </view>
    </view> 
    <view class='title '>
      <view class='info'><span>*</span>电话:<input class="input1" maxlength="11" type="number" name="" placeholder="请输入手机号" value="{{obj.phone}}" bindinput='textPhone'/> </view>
    </view> 
    <view class='title '>
      <view class='info'>
        <span>*</span>姓名:<input class="input2" maxlength="20" type="" name="" placeholder="请输入姓名" bindinput='textName' value="{{obj.name}}" />
        <view class='chooseInfo1'>
          <view bindtap='chooseSex' data-code='1'>
            <image catchtap='chooseSex' data-code='1' class="image" wx:if='{{obj.gender==1}}' src="../../image/send/selection_icon.png" />
            <image catchtap='chooseSex' data-code='1' class="image" wx:else src="../../image/send/noselect_icon.png" />
           先生</view>
          <view bindtap='chooseSex' data-code='0'>
            <image catchtap='chooseSex' data-code='0' class="image" wx:if='{{obj.gender==0}}' src="../../image/send/selection_icon.png" />
            <image catchtap='chooseSex' data-code='0' class="image" wx:else src="../../image/send/noselect_icon.png" />
            <label></label>女士</view>
        </view>
      </view>
    </view> 
    <view class='title address' bindtap='turnCity'>
      <view class='info'><span>*</span>设备所在地:
      <!-- <ssq-item bindmyevent="onMyEvent" item="{{obj.city}}"></ssq-item> -->
      <label>{{obj.city}}</label>
      </view>
    </view> 


    <view class='title nobottm'>
      <view class='info'><span>*</span>详细描述</view>
    </view>
    <textarea  placeholder-style='color:#c3c3c3;'  maxlength="600" placeholder="塔吊16年的，没有大维修过，保养很好" value='{{obj.des}}' bindinput='textDes' cursor-spacing='140'/>
     <view class='title nobottm' >
      <view class='info'>设备照片<text>(上传图片能大大提高出售几率)</text></view>
    </view>
    <view class='imageView'>
       <view class='addImage' wx:for='{{obj.wxEquipmentPic}}' wx:if='{{index<6}}'>
         <image class="image0" src="{{item.url}}" />
         <image class='close' bindtap='deleteImg' data-code='{{index}}' src='../../image/close.png' />
       </view>
    	 <view class='addImage'  bindtap='chooseImage' wx:if='{{obj.wxEquipmentPic.length<6}}'>
          <image class="image" src="../../image/send/tianjiatz.png" />
    	  <label>添加图片</label>
    	 </view>

    </view>
   <view class='send' bindtap='sendSheBei'>编辑完成</view>

</view>